package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.MsUser;
import com.example.demo.entity.params.UserRegisterParam;
import com.example.demo.entity.vo.UserInfoVo;

public interface UserMapper extends BaseMapper<MsUser> {

    MsUser selectByUsername(String username);

    int addUser(UserRegisterParam userRegisterParam);

    UserInfoVo selectById(Long userId);
}
